﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace CodeTool
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
        //Url操作
        private void MenuItem_Click(object sender, RoutedEventArgs e)
        {
            UrlOperate _url = new UrlOperate();
            _url.ShowDialog();
        }
        //关于按钮
        private void MenuItem_Click_1(object sender, RoutedEventArgs e)
        {
            About about = new About();
            about.ShowDialog();
        }
        //Base64操作
        private void MenuItem_Click_2(object sender, RoutedEventArgs e)
        {
            Base64 _base64 = new Base64();
            _base64.ShowDialog();
        }
        //HTML 操作
        private void MenuItem_Click_3(object sender, RoutedEventArgs e)
        {
            HtmlOperate _html = new CodeTool.HtmlOperate();
            _html.ShowDialog();
        }
    }
}
